// 读取 token
const getToken = () => localStorage.getItem('erabbit_token')

// 是否登录
const isAuth = () => !!getToken()

export { getToken, isAuth }
